﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Results;
using XinHeWechat.Common;
using XinHeWechat.Model;

namespace XinHeWechat.Api.Controllers
{
    /// <summary>
    /// 用户方法
    /// </summary>
    public class UserController : ApiController
    {
        
        /// <summary>
        /// 方法名
        /// </summary>
        /// <param name="reqData"></param>
        /// <returns></returns>
        [HttpPost]
        public BaseResponse<IdentityResponse> Func(IdentityRequest reqData)
        {
            var responseData = new BaseResponse<IdentityResponse>
            {
                code = 0,
                data = new IdentityResponse
                {
                    Idx = "123",
                    RowNo = 20 
                }
            };
            return responseData;
        }
    }
}
